package com.xiangshizhineng.tianzhangzhi.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiangshizhineng.tianzhangzhi.app.common.base.BaseServiceImpl;
import com.xiangshizhineng.tianzhangzhi.app.dao.TrajectoryDAO;
import com.xiangshizhineng.tianzhangzhi.app.model.request.TrajectoryRequest;
import com.xiangshizhineng.tianzhangzhi.app.service.TrajectoryService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class TrajectoryServiceImpl extends ServiceImpl<TrajectoryDAO,TrajectoryRequest> implements TrajectoryService {

    @Autowired
    private TrajectoryDAO trajectoryDAO;

    @Override
    public int insert(List<TrajectoryRequest> trajectoryRequestList) {
        return trajectoryDAO.insert1(trajectoryRequestList);
    }
}
